#ifndef INCLUDED_BULLET_H
#define INCLUDED_BULLET_H

#include <SGE.h>
using namespace SGE;

class Bullet
{
	public:
		Bullet();
		~Bullet();

		void Load();
		void Unload();
		void Update(float deltaTime);
		void Render();

		void Fire(const SVector2& pos, const SVector2& vel);
		void Kill();

		bool IsActive() const { return mActive; }

		//from centre to 10.0f px
		SCircle GetBoundingCircle() const {return SCircle(mPosition, 10.0f);}
	private:
		SGE_Sprite mSprite;
		SVector2 mPosition;
		SVector2 mVelocity;
		bool mActive; 
		//need to initialize this boolean, all other classes have existing constructors
};
#endif // #ifndef INCLUDED_Bullet_H